package com.wcards.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wcards.config.R;
import com.wcards.dto.CartsDTO;
import com.wcards.entity.Carts;

import java.util.List;


public interface CartService extends IService<Carts> {

    R<String> addCart(Carts carts);

    R<String> deleteById(List<Integer> ids);

    R<String> updateCart(Carts carts);

    R<Page<Carts>> findCates(CartsDTO cartsDTO, Integer pageSize, Integer pageNumber);
}
